package com.xyht.sca_s.student_manage_system.modules.welcomeNewStudent.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 学费缓交表
 * </p>
 *
 * @author XYHT
 * @since 2024-01-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_wns_school_fees_delay")
@ApiModel(value="SmsWnsSchoolFeesDelay对象", description="学费缓交表")
public class SmsWnsSchoolFeesDelay implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学费缓交id")
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "姓名")
    private String stuName;

    @ApiModelProperty(value = "性别")
    private String stuSex;

    @ApiModelProperty(value = "二级学院id")
    private Integer collegeId;

    @ApiModelProperty(value = "二级学院名")
    private String collegeName;

    @ApiModelProperty(value = "专业id")
    private Integer majorId;

    @ApiModelProperty(value = "专业名")
    private String majorName;

    @ApiModelProperty(value = "身份证号")
    private String stuIdCard;

    @ApiModelProperty(value = "家庭详址")
    private String stuAddress;

    @ApiModelProperty(value = "学费缓交原因")
    private String delayReason;

    @ApiModelProperty(value = "应缴纳的金额")
    private BigDecimal shouldMoney;

    @ApiModelProperty(value = "先缴纳的金额")
    private BigDecimal beforeMoney;

    @ApiModelProperty(value = "后缴纳的金额")
    private BigDecimal afterMoney;

    @ApiModelProperty(value = "交清日期")
    private Date deliveryDate;

    @ApiModelProperty(value = "家长姓名")
    private String parentName;

    @ApiModelProperty(value = "家长联系电话")
    private String parentTel;

    @ApiModelProperty(value = "申请人")
    private String applyName;

    @ApiModelProperty(value = "审批状态  0：审批中  1：通过   2：驳回   3：撤销")
    private Integer allowStatus;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "是否删除：0：未删除 1：已删除")
    @TableLogic
    private Integer isDeleted;


}
